/*
 * Copyright 2003-2007 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

package com.colony.zone;

import com.colony.concurrent.ThreadPool;

public interface IZone
extends IBoundZoneObject
{
	
	public static final String TYPENAME = "zone";

	public IRealm getRealm()
	throws ZoneException;
	
    public CRL getLocation()
    throws ZoneException;
    
    public ThreadPool getThreadPool()
    throws ZoneException;
    
    // Basic add/remove/find objects.
    public String getName()
    throws ZoneException;
    
    public void put( String name, Object data ) 
    throws ZoneException;
    
    public Object get( String name ) 
    throws ZoneException;
    
    public Object remove( String name ) 
    throws ZoneException;
    
    public void rename( String name, String newName )
    throws ZoneException;
    
    public Object find( CRL location )
    throws ZoneException;

}
